<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试001</title>
</head>
<body>
<script type="text/javascript">
    var f={
        s1:function (arr) {
            alert(arr[0])
        }
    }
    f.s1(['a']);
</script>
</body>
</html>